<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>个人信息</title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link rel="stylesheet" type="text/css" href="../../css/new_file7.css"/>
		<link rel="stylesheet" type="text/css" href="../../css/libs/icon.css"/>
		<link rel="stylesheet" type="text/css" href="../../css/libs/core.css"/>
		<link rel="stylesheet" type="text/css" href="../../css/aui.css"/>
		<link rel="stylesheet" href="../../css/pulice.css">
		<script src="../../js/api.js"></script>
		<script src="../../js/libs/zepto.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="../../js/jquery.min.js" type="text/javascript" charset="utf-8"></script>
	    <script src="../../js/vue.min.js"></script>
	    <script src="../../js/vue-resource.min.js"></script>
	    <script src="../../js/aui-toast.js"></script>
	    <script src="../../js/common.js" type="text/javascript" charset="utf-8"></script>
		<script>
			setToken();
            $(function () {
            	var app = new Vue({
	                el: '#box',
	                data: {
	                    HuaBao : {},
	                },
	                mounted:function(){
	                	this.$nextTick(function(){
	                		this.myHuaBao();
	                	})
	                },
	                methods:{
	                	myHuaBao : function(){
	                		this.$http.get(SURL+"app/users/personalData").then(function(res){
		                   			console.log(res.body.data.user)
		                   			this.HuaBao = res.body.data.user;
		                		}).catch(function(req){
	                			
	                		});
	                	},
	                	
	                }
	            });
            	
                $('.hm-bar').load('../../data/headerOther.html',function (data) {
                    $(this).find('.head-main').text('个人信息');
                    $(this).find('.hm-bar-box').css('position','static');
                    $(this).find('.head-left').on('tap',function () {
                        window.history.back();
                    });
                });
            })
		</script>
	</head>
		<body>
		<div id="box">
			<div class="hm-bar"></div>
			
			<!--身体-->
			<div class="WD-shenti">
				<div class="tiao"></div>
				<div class="st-center">
					<div class="wd">
						<div class="dIv1">
							头像
						</div>
						<div class="dIvtu">
							<img :src="orImg(HuaBao.userPhoto)" class="touXiang" />
							<div class="goIcon">
		                        <img src="../../img/goIcon.png"/>
		                    </div>
						</div>
					</div>	
				</div>
				<div class="st-center">
					<div class="wd">
						<div class="dIv1">
						用户名
						</div>
						<div class="dIv2">
							{{HuaBao.loginName}}
						</div>
					</div>
					
				</div>
				<div class="st-center">
					<div class="wd">
						<div class="dIv1">
							账号
						</div>
						<div class="dIv2">
							{{HuaBao.userPhone}}
						</div>
					</div>	
				</div>
				<div class="st-center">
					<div class="wd nobor">
						<div class="dIv1">
							账号类型
						</div>
						<div class="dIv2" v-if="HuaBao.userType == 0">
							普通用户
						</div>
						<div class="dIv2" v-if="HuaBao.userType == 1">
							主管
						</div>
						<div class="dIv2" v-if="HuaBao.userType == 2">
							经理
						</div>
					</div>
				</div>
				
				
				
				<div class="tiao"></div>
				
				<div class="st-center">
					<div class="wd">
						<div class="dIv1">
							是否实名认证
						</div>
						<div class="dIv2" v-if="HuaBao.trueName == '' ">
							未认证
						</div>
						<div class="dIv2" v-if="HuaBao.trueName != '' ">
							已认证
						</div>
					</div>	
				</div>
				
				<div class="st-center ">
					<div class="wd nobor">
						<div class="dIv1">
							是否企业认证
						</div>
						<div class="dIv2" v-if="HuaBao.isStore == 0">
							未认证
						</div>
						<div class="dIv2" v-if="HuaBao.isStore == 1">
							已认证
						</div>
					</div>
				</div>
				
				
				<div class="tiao"></div>
				
				
				<div class="st-center">
					<div class="wd nobor">
						<div class="dIv1">
							收货地址
						</div>
						<div class="goIcon">
	                        <img src="../../img/goIcon.png"/>
	                    </div>
					</div>
				</div>
				
			</div>
			<!--注释-->
			
			<!--底部-->
			
		</div>	
	</body>
	<script>
		
		
	</script>
</html>
